<template>
	<view class="con">
		
		<view v-if="isdata" class="flex-ju-c color999 mt10vh">
			暂无数据
		</view>
		<view @click="navto('recoer_detail?id='+item.id)" class="flex-ju-b  ra20 mt30 pg25 bgfff" v-for="(item,index) in list" :key="index">
			<view  class=" ">
				<view class="flex-a-i">
					<view class="bg0E74CF ra10 wh10-40"></view>
					<view class="size24 colorB8B8B8 ml10">{{item.create_time}}</view>
				</view>
				<view class="size24 mt15">
					地区：{{item.company.province}} {{item.company.area}} {{item.company.city}}
				</view>
				<view class="size24 mt15">
					申报企业：{{item.company.name}}
				</view>
			</view>
			<view class="size26">
				{{item.status_name}}
			</view>
		</view>
		
	</view>
</template>

<script>
	export default {
		data() {
			return {
				isdata:false,
				page:1,
				list:[]
			}
		},
		onLoad() {
			this.getlist();
		},
		onReachBottom() {
			this.page++
			this.getlist();
		},
		methods: {
			getlist(){
				this.http('company/apply_list',{page:this.page,limit:20}).then(res=>{
					
					this.list=[...this.list,...res.data.list]
					if(this.list.length){
						this.isdata = false
					}else{
						this.isdata = true
					}
				})
			}
		}
	}
</script>

<style>

</style>
